import request from '@/utils/request'

export const getMessageList = (meddageData) => {
    return request.post('/message/list',meddageData)
}
export const updateMessage=(updateData)=>{
    return request.put('/message/update',updateData)
}
export const addMessageService = (updateData) => {
    return request.post('/message/add',updateData)
}
// 前端修改请求路径格式
export const deleteMessageService = (id) => {
    return request.delete(`/message/delete/${id}`)
}
